package dk.itu.iwjx.beans;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class CartBean {
	private int id,customerId;
	private Date date;
	private float totalPrice;
	private Map<Integer,ItemBean> items=new HashMap<Integer,ItemBean>();
	

	public Map<Integer,ItemBean> getItems() {
		return items;
	}
	public void setItems(HashMap<Integer,ItemBean> items) {
		this.items = items;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCustomerId() {
		return customerId;
	}
	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public float getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}
}
